
map_test 		= {}

TILE_DIR = "/tile/"

function map_test:tile(short, fname) 
	self.tiles[short] = { image = TILE_DIR .. 'tile_' .. fname .. '.png' , count = 1 } 
end


map_test.wide	= 40
map_test.high	= 40
map_test.tiles	= {}
map_test.layers = {}
map_test.tiles	= {}

map.layers[0] = { };


map_test.tile("..",  "floor_grass"    ) 
map_test.tile("~~",  "water_light_a1" )

map.data = [[
.. .~ ~~ .. .. .. .. 
.. ~~ ~. .. .. .. .. 

]]